package com.ah.shanxi_demo.mapper;

import com.ah.shanxi_demo.common.MyMapper;
import com.ah.shanxi_demo.entity.SxRegister;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

@Component
public interface SxRegisterMapper extends MyMapper<SxRegister> {

    Long insertRegister(SxRegister sxRegister);

    SxRegister selectById(@Param("id") Long id);

    Long selectByCommon(@Param("centerCode") String centerCode, @Param("centerKey") String centerKey);

    SxRegister selectRecent();

}